// =====================================================================
//
//  This file is part of the Microsoft Dynamics CRM SDK code samples.
//
//  Copyright (C) Microsoft Corporation.  All rights reserved.
//
//  This source code is intended only as a supplement to Microsoft
//  Development Tools and/or on-line documentation.  See these other
//  materials for detailed information regarding Microsoft code samples.
//
//  THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//  PARTICULAR PURPOSE.
//
// =====================================================================
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.1
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Microsoft.Xrm.Sdk.Messages
{


	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public CreateRequest()
		{
			this.RequestName = "Create";
			this.Target = default(Microsoft.Xrm.Sdk.Entity);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CreateResponse()
		{
		}

		public System.Guid id
		{
			get
			{
				if (this.Results.Contains("id"))
				{
					return ((System.Guid)(this.Results["id"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public DeleteRequest()
		{
			this.RequestName = "Delete";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeleteResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Query.ColumnSet ColumnSet
		{
			get
			{
				if (this.Parameters.Contains("ColumnSet"))
				{
					return ((Microsoft.Xrm.Sdk.Query.ColumnSet)(this.Parameters["ColumnSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.ColumnSet);
				}
			}
			set
			{
				this.Parameters["ColumnSet"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.RelationshipQueryCollection RelatedEntitiesQuery
		{
			get
			{
				if (this.Parameters.Contains("RelatedEntitiesQuery"))
				{
					return ((Microsoft.Xrm.Sdk.RelationshipQueryCollection)(this.Parameters["RelatedEntitiesQuery"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.RelationshipQueryCollection);
				}
			}
			set
			{
				this.Parameters["RelatedEntitiesQuery"] = value;
			}
		}

		public RetrieveRequest()
		{
			this.RequestName = "Retrieve";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.ColumnSet = default(Microsoft.Xrm.Sdk.Query.ColumnSet);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Entity Entity
		{
			get
			{
				if (this.Results.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Results["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveMultipleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Query.QueryBase Query
		{
			get
			{
				if (this.Parameters.Contains("Query"))
				{
					return ((Microsoft.Xrm.Sdk.Query.QueryBase)(this.Parameters["Query"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Query.QueryBase);
				}
			}
			set
			{
				this.Parameters["Query"] = value;
			}
		}

		public RetrieveMultipleRequest()
		{
			this.RequestName = "RetrieveMultiple";
			this.Query = default(Microsoft.Xrm.Sdk.Query.QueryBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveMultipleResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveMultipleResponse()
		{
		}

		public Microsoft.Xrm.Sdk.EntityCollection EntityCollection
		{
			get
			{
				if (this.Results.Contains("EntityCollection"))
				{
					return ((Microsoft.Xrm.Sdk.EntityCollection)(this.Results["EntityCollection"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityCollection);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Entity Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.Entity)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Entity);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public UpdateRequest()
		{
			this.RequestName = "Update";
			this.Target = default(Microsoft.Xrm.Sdk.Entity);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UpdateResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CanBeReferencedRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string EntityName
		{
			get
			{
				if (this.Parameters.Contains("EntityName"))
				{
					return ((string)(this.Parameters["EntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityName"] = value;
			}
		}

		public CanBeReferencedRequest()
		{
			this.RequestName = "CanBeReferenced";
			this.EntityName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CanBeReferencedResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CanBeReferencedResponse()
		{
		}

		public bool CanBeReferenced
		{
			get
			{
				if (this.Results.Contains("CanBeReferenced"))
				{
					return ((bool)(this.Results["CanBeReferenced"]));
				}
				else
				{
					return default(bool);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CanBeReferencingRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string EntityName
		{
			get
			{
				if (this.Parameters.Contains("EntityName"))
				{
					return ((string)(this.Parameters["EntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityName"] = value;
			}
		}

		public CanBeReferencingRequest()
		{
			this.RequestName = "CanBeReferencing";
			this.EntityName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CanBeReferencingResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CanBeReferencingResponse()
		{
		}

		public bool CanBeReferencing
		{
			get
			{
				if (this.Results.Contains("CanBeReferencing"))
				{
					return ((bool)(this.Results["CanBeReferencing"]));
				}
				else
				{
					return default(bool);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CanManyToManyRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string EntityName
		{
			get
			{
				if (this.Parameters.Contains("EntityName"))
				{
					return ((string)(this.Parameters["EntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityName"] = value;
			}
		}

		public CanManyToManyRequest()
		{
			this.RequestName = "CanManyToMany";
			this.EntityName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CanManyToManyResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CanManyToManyResponse()
		{
		}

		public bool CanManyToMany
		{
			get
			{
				if (this.Results.Contains("CanManyToMany"))
				{
					return ((bool)(this.Results["CanManyToMany"]));
				}
				else
				{
					return default(bool);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateAttributeRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Metadata.AttributeMetadata Attribute
		{
			get
			{
				if (this.Parameters.Contains("Attribute"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.AttributeMetadata)(this.Parameters["Attribute"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.AttributeMetadata);
				}
			}
			set
			{
				this.Parameters["Attribute"] = value;
			}
		}

		public string EntityName
		{
			get
			{
				if (this.Parameters.Contains("EntityName"))
				{
					return ((string)(this.Parameters["EntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityName"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public CreateAttributeRequest()
		{
			this.RequestName = "CreateAttribute";
			this.Attribute = default(Microsoft.Xrm.Sdk.Metadata.AttributeMetadata);
			this.EntityName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateAttributeResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CreateAttributeResponse()
		{
		}

		public System.Guid AttributeId
		{
			get
			{
				if (this.Results.Contains("AttributeId"))
				{
					return ((System.Guid)(this.Results["AttributeId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateEntityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Metadata.EntityMetadata Entity
		{
			get
			{
				if (this.Parameters.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.EntityMetadata)(this.Parameters["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.EntityMetadata);
				}
			}
			set
			{
				this.Parameters["Entity"] = value;
			}
		}

		public bool HasActivities
		{
			get
			{
				if (this.Parameters.Contains("HasActivities"))
				{
					return ((bool)(this.Parameters["HasActivities"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["HasActivities"] = value;
			}
		}

		public bool HasNotes
		{
			get
			{
				if (this.Parameters.Contains("HasNotes"))
				{
					return ((bool)(this.Parameters["HasNotes"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["HasNotes"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Metadata.StringAttributeMetadata PrimaryAttribute
		{
			get
			{
				if (this.Parameters.Contains("PrimaryAttribute"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.StringAttributeMetadata)(this.Parameters["PrimaryAttribute"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.StringAttributeMetadata);
				}
			}
			set
			{
				this.Parameters["PrimaryAttribute"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public CreateEntityRequest()
		{
			this.RequestName = "CreateEntity";
			this.Entity = default(Microsoft.Xrm.Sdk.Metadata.EntityMetadata);
			this.HasActivities = default(bool);
			this.HasNotes = default(bool);
			this.PrimaryAttribute = default(Microsoft.Xrm.Sdk.Metadata.StringAttributeMetadata);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateEntityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CreateEntityResponse()
		{
		}

		public System.Guid AttributeId
		{
			get
			{
				if (this.Results.Contains("AttributeId"))
				{
					return ((System.Guid)(this.Results["AttributeId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}

		public System.Guid EntityId
		{
			get
			{
				if (this.Results.Contains("EntityId"))
				{
					return ((System.Guid)(this.Results["EntityId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateManyToManyRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string IntersectEntitySchemaName
		{
			get
			{
				if (this.Parameters.Contains("IntersectEntitySchemaName"))
				{
					return ((string)(this.Parameters["IntersectEntitySchemaName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["IntersectEntitySchemaName"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Metadata.ManyToManyRelationshipMetadata ManyToManyRelationship
		{
			get
			{
				if (this.Parameters.Contains("ManyToManyRelationship"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.ManyToManyRelationshipMetadata)(this.Parameters["ManyToManyRelationship"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.ManyToManyRelationshipMetadata);
				}
			}
			set
			{
				this.Parameters["ManyToManyRelationship"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public CreateManyToManyRequest()
		{
			this.RequestName = "CreateManyToMany";
			this.IntersectEntitySchemaName = default(string);
			this.ManyToManyRelationship = default(Microsoft.Xrm.Sdk.Metadata.ManyToManyRelationshipMetadata);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateManyToManyResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CreateManyToManyResponse()
		{
		}

		public System.Guid ManyToManyRelationshipId
		{
			get
			{
				if (this.Results.Contains("ManyToManyRelationshipId"))
				{
					return ((System.Guid)(this.Results["ManyToManyRelationshipId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateOneToManyRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Metadata.LookupAttributeMetadata Lookup
		{
			get
			{
				if (this.Parameters.Contains("Lookup"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.LookupAttributeMetadata)(this.Parameters["Lookup"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.LookupAttributeMetadata);
				}
			}
			set
			{
				this.Parameters["Lookup"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata OneToManyRelationship
		{
			get
			{
				if (this.Parameters.Contains("OneToManyRelationship"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata)(this.Parameters["OneToManyRelationship"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata);
				}
			}
			set
			{
				this.Parameters["OneToManyRelationship"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public CreateOneToManyRequest()
		{
			this.RequestName = "CreateOneToMany";
			this.Lookup = default(Microsoft.Xrm.Sdk.Metadata.LookupAttributeMetadata);
			this.OneToManyRelationship = default(Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateOneToManyResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CreateOneToManyResponse()
		{
		}

		public System.Guid AttributeId
		{
			get
			{
				if (this.Results.Contains("AttributeId"))
				{
					return ((System.Guid)(this.Results["AttributeId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}

		public System.Guid RelationshipId
		{
			get
			{
				if (this.Results.Contains("RelationshipId"))
				{
					return ((System.Guid)(this.Results["RelationshipId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateOptionSetRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase OptionSet
		{
			get
			{
				if (this.Parameters.Contains("OptionSet"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase)(this.Parameters["OptionSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase);
				}
			}
			set
			{
				this.Parameters["OptionSet"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public CreateOptionSetRequest()
		{
			this.RequestName = "CreateOptionSet";
			this.OptionSet = default(Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class CreateOptionSetResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public CreateOptionSetResponse()
		{
		}

		public System.Guid OptionSetId
		{
			get
			{
				if (this.Results.Contains("OptionSetId"))
				{
					return ((System.Guid)(this.Results["OptionSetId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteAttributeRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string LogicalName
		{
			get
			{
				if (this.Parameters.Contains("LogicalName"))
				{
					return ((string)(this.Parameters["LogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["LogicalName"] = value;
			}
		}

		public string EntityLogicalName
		{
			get
			{
				if (this.Parameters.Contains("EntityLogicalName"))
				{
					return ((string)(this.Parameters["EntityLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityLogicalName"] = value;
			}
		}

		public DeleteAttributeRequest()
		{
			this.RequestName = "DeleteAttribute";
			this.LogicalName = default(string);
			this.EntityLogicalName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteAttributeResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeleteAttributeResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteEntityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string LogicalName
		{
			get
			{
				if (this.Parameters.Contains("LogicalName"))
				{
					return ((string)(this.Parameters["LogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["LogicalName"] = value;
			}
		}

		public DeleteEntityRequest()
		{
			this.RequestName = "DeleteEntity";
			this.LogicalName = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteEntityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeleteEntityResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteOptionValueRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string OptionSetName
		{
			get
			{
				if (this.Parameters.Contains("OptionSetName"))
				{
					return ((string)(this.Parameters["OptionSetName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["OptionSetName"] = value;
			}
		}

		public string AttributeLogicalName
		{
			get
			{
				if (this.Parameters.Contains("AttributeLogicalName"))
				{
					return ((string)(this.Parameters["AttributeLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AttributeLogicalName"] = value;
			}
		}

		public string EntityLogicalName
		{
			get
			{
				if (this.Parameters.Contains("EntityLogicalName"))
				{
					return ((string)(this.Parameters["EntityLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityLogicalName"] = value;
			}
		}

		public int Value
		{
			get
			{
				if (this.Parameters.Contains("Value"))
				{
					return ((int)(this.Parameters["Value"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["Value"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public DeleteOptionValueRequest()
		{
			this.RequestName = "DeleteOptionValue";
			this.Value = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteOptionValueResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeleteOptionValueResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteRelationshipRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string Name
		{
			get
			{
				if (this.Parameters.Contains("Name"))
				{
					return ((string)(this.Parameters["Name"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Name"] = value;
			}
		}

		public DeleteRelationshipRequest()
		{
			this.RequestName = "DeleteRelationship";
			this.Name = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteRelationshipResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeleteRelationshipResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteOptionSetRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string Name
		{
			get
			{
				if (this.Parameters.Contains("Name"))
				{
					return ((string)(this.Parameters["Name"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Name"] = value;
			}
		}

		public DeleteOptionSetRequest()
		{
			this.RequestName = "DeleteOptionSet";
			this.Name = default(string);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DeleteOptionSetResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DeleteOptionSetResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class GetValidManyToManyRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public GetValidManyToManyRequest()
		{
			this.RequestName = "GetValidManyToMany";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class GetValidManyToManyResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetValidManyToManyResponse()
		{
		}

		public string[] EntityNames
		{
			get
			{
				if (this.Results.Contains("EntityNames"))
				{
					return ((string[])(this.Results["EntityNames"]));
				}
				else
				{
					return default(string[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class GetValidReferencedEntitiesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string ReferencingEntityName
		{
			get
			{
				if (this.Parameters.Contains("ReferencingEntityName"))
				{
					return ((string)(this.Parameters["ReferencingEntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["ReferencingEntityName"] = value;
			}
		}

		public GetValidReferencedEntitiesRequest()
		{
			this.RequestName = "GetValidReferencedEntities";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class GetValidReferencedEntitiesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetValidReferencedEntitiesResponse()
		{
		}

		public string[] EntityNames
		{
			get
			{
				if (this.Results.Contains("EntityNames"))
				{
					return ((string[])(this.Results["EntityNames"]));
				}
				else
				{
					return default(string[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class GetValidReferencingEntitiesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string ReferencedEntityName
		{
			get
			{
				if (this.Parameters.Contains("ReferencedEntityName"))
				{
					return ((string)(this.Parameters["ReferencedEntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["ReferencedEntityName"] = value;
			}
		}

		public GetValidReferencingEntitiesRequest()
		{
			this.RequestName = "GetValidReferencingEntities";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class GetValidReferencingEntitiesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public GetValidReferencingEntitiesResponse()
		{
		}

		public string[] EntityNames
		{
			get
			{
				if (this.Results.Contains("EntityNames"))
				{
					return ((string[])(this.Results["EntityNames"]));
				}
				else
				{
					return default(string[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class InsertOptionValueRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string OptionSetName
		{
			get
			{
				if (this.Parameters.Contains("OptionSetName"))
				{
					return ((string)(this.Parameters["OptionSetName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["OptionSetName"] = value;
			}
		}

		public string AttributeLogicalName
		{
			get
			{
				if (this.Parameters.Contains("AttributeLogicalName"))
				{
					return ((string)(this.Parameters["AttributeLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AttributeLogicalName"] = value;
			}
		}

		public string EntityLogicalName
		{
			get
			{
				if (this.Parameters.Contains("EntityLogicalName"))
				{
					return ((string)(this.Parameters["EntityLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityLogicalName"] = value;
			}
		}

		public System.Nullable<int> Value
		{
			get
			{
				if (this.Parameters.Contains("Value"))
				{
					return ((System.Nullable<int>)(this.Parameters["Value"]));
				}
				else
				{
					return default(System.Nullable<int>);
				}
			}
			set
			{
				this.Parameters["Value"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Label Label
		{
			get
			{
				if (this.Parameters.Contains("Label"))
				{
					return ((Microsoft.Xrm.Sdk.Label)(this.Parameters["Label"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Label);
				}
			}
			set
			{
				this.Parameters["Label"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Label Description
		{
			get
			{
				if (this.Parameters.Contains("Description"))
				{
					return ((Microsoft.Xrm.Sdk.Label)(this.Parameters["Description"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Label);
				}
			}
			set
			{
				this.Parameters["Description"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public InsertOptionValueRequest()
		{
			this.RequestName = "InsertOptionValue";
			this.Label = default(Microsoft.Xrm.Sdk.Label);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class InsertOptionValueResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public InsertOptionValueResponse()
		{
		}

		public int NewOptionValue
		{
			get
			{
				if (this.Results.Contains("NewOptionValue"))
				{
					return ((int)(this.Results["NewOptionValue"]));
				}
				else
				{
					return default(int);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class InsertStatusValueRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string OptionSetName
		{
			get
			{
				if (this.Parameters.Contains("OptionSetName"))
				{
					return ((string)(this.Parameters["OptionSetName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["OptionSetName"] = value;
			}
		}

		public string AttributeLogicalName
		{
			get
			{
				if (this.Parameters.Contains("AttributeLogicalName"))
				{
					return ((string)(this.Parameters["AttributeLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AttributeLogicalName"] = value;
			}
		}

		public string EntityLogicalName
		{
			get
			{
				if (this.Parameters.Contains("EntityLogicalName"))
				{
					return ((string)(this.Parameters["EntityLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityLogicalName"] = value;
			}
		}

		public System.Nullable<int> Value
		{
			get
			{
				if (this.Parameters.Contains("Value"))
				{
					return ((System.Nullable<int>)(this.Parameters["Value"]));
				}
				else
				{
					return default(System.Nullable<int>);
				}
			}
			set
			{
				this.Parameters["Value"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Label Label
		{
			get
			{
				if (this.Parameters.Contains("Label"))
				{
					return ((Microsoft.Xrm.Sdk.Label)(this.Parameters["Label"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Label);
				}
			}
			set
			{
				this.Parameters["Label"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Label Description
		{
			get
			{
				if (this.Parameters.Contains("Description"))
				{
					return ((Microsoft.Xrm.Sdk.Label)(this.Parameters["Description"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Label);
				}
			}
			set
			{
				this.Parameters["Description"] = value;
			}
		}

		public int StateCode
		{
			get
			{
				if (this.Parameters.Contains("StateCode"))
				{
					return ((int)(this.Parameters["StateCode"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["StateCode"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public InsertStatusValueRequest()
		{
			this.RequestName = "InsertStatusValue";
			this.Label = default(Microsoft.Xrm.Sdk.Label);
			this.StateCode = default(int);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class InsertStatusValueResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public InsertStatusValueResponse()
		{
		}

		public int NewOptionValue
		{
			get
			{
				if (this.Results.Contains("NewOptionValue"))
				{
					return ((int)(this.Results["NewOptionValue"]));
				}
				else
				{
					return default(int);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class OrderOptionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string OptionSetName
		{
			get
			{
				if (this.Parameters.Contains("OptionSetName"))
				{
					return ((string)(this.Parameters["OptionSetName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["OptionSetName"] = value;
			}
		}

		public string AttributeLogicalName
		{
			get
			{
				if (this.Parameters.Contains("AttributeLogicalName"))
				{
					return ((string)(this.Parameters["AttributeLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AttributeLogicalName"] = value;
			}
		}

		public string EntityLogicalName
		{
			get
			{
				if (this.Parameters.Contains("EntityLogicalName"))
				{
					return ((string)(this.Parameters["EntityLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityLogicalName"] = value;
			}
		}

		public int[] Values
		{
			get
			{
				if (this.Parameters.Contains("Values"))
				{
					return ((int[])(this.Parameters["Values"]));
				}
				else
				{
					return default(int[]);
				}
			}
			set
			{
				this.Parameters["Values"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public OrderOptionRequest()
		{
			this.RequestName = "OrderOption";
			this.Values = default(int[]);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class OrderOptionResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public OrderOptionResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveAllEntitiesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Metadata.EntityFilters EntityFilters
		{
			get
			{
				if (this.Parameters.Contains("EntityFilters"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.EntityFilters)(this.Parameters["EntityFilters"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.EntityFilters);
				}
			}
			set
			{
				this.Parameters["EntityFilters"] = value;
			}
		}

		public bool RetrieveAsIfPublished
		{
			get
			{
				if (this.Parameters.Contains("RetrieveAsIfPublished"))
				{
					return ((bool)(this.Parameters["RetrieveAsIfPublished"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["RetrieveAsIfPublished"] = value;
			}
		}

		public RetrieveAllEntitiesRequest()
		{
			this.RequestName = "RetrieveAllEntities";
			this.EntityFilters = default(Microsoft.Xrm.Sdk.Metadata.EntityFilters);
			this.RetrieveAsIfPublished = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveAllEntitiesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveAllEntitiesResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Metadata.EntityMetadata[] EntityMetadata
		{
			get
			{
				if (this.Results.Contains("EntityMetadata"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.EntityMetadata[])(this.Results["EntityMetadata"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.EntityMetadata[]);
				}
			}
		}

		public string Timestamp
		{
			get
			{
				if (this.Results.Contains("Timestamp"))
				{
					return ((string)(this.Results["Timestamp"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveAllOptionSetsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public bool RetrieveAsIfPublished
		{
			get
			{
				if (this.Parameters.Contains("RetrieveAsIfPublished"))
				{
					return ((bool)(this.Parameters["RetrieveAsIfPublished"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["RetrieveAsIfPublished"] = value;
			}
		}

		public RetrieveAllOptionSetsRequest()
		{
			this.RequestName = "RetrieveAllOptionSets";
			this.RetrieveAsIfPublished = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveAllOptionSetsResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveAllOptionSetsResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase[] OptionSetMetadata
		{
			get
			{
				if (this.Results.Contains("OptionSetMetadata"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase[])(this.Results["OptionSetMetadata"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveAllManagedPropertiesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveAllManagedPropertiesRequest()
		{
			this.RequestName = "RetrieveAllManagedProperties";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveAllManagedPropertiesResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveAllManagedPropertiesResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Metadata.ManagedPropertyMetadata[] ManagedPropertyMetadata
		{
			get
			{
				if (this.Results.Contains("ManagedPropertyMetadata"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.ManagedPropertyMetadata[])(this.Results["ManagedPropertyMetadata"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.ManagedPropertyMetadata[]);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveAttributeRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string EntityLogicalName
		{
			get
			{
				if (this.Parameters.Contains("EntityLogicalName"))
				{
					return ((string)(this.Parameters["EntityLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityLogicalName"] = value;
			}
		}

		public string LogicalName
		{
			get
			{
				if (this.Parameters.Contains("LogicalName"))
				{
					return ((string)(this.Parameters["LogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["LogicalName"] = value;
			}
		}

		public int ColumnNumber
		{
			get
			{
				if (this.Parameters.Contains("ColumnNumber"))
				{
					return ((int)(this.Parameters["ColumnNumber"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["ColumnNumber"] = value;
			}
		}

		public System.Guid MetadataId
		{
			get
			{
				if (this.Parameters.Contains("MetadataId"))
				{
					return ((System.Guid)(this.Parameters["MetadataId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["MetadataId"] = value;
			}
		}

		public bool RetrieveAsIfPublished
		{
			get
			{
				if (this.Parameters.Contains("RetrieveAsIfPublished"))
				{
					return ((bool)(this.Parameters["RetrieveAsIfPublished"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["RetrieveAsIfPublished"] = value;
			}
		}

		public RetrieveAttributeRequest()
		{
			this.RequestName = "RetrieveAttribute";
			this.MetadataId = default(System.Guid);
			this.RetrieveAsIfPublished = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveAttributeResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveAttributeResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Metadata.AttributeMetadata AttributeMetadata
		{
			get
			{
				if (this.Results.Contains("AttributeMetadata"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.AttributeMetadata)(this.Results["AttributeMetadata"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.AttributeMetadata);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveEntityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Metadata.EntityFilters EntityFilters
		{
			get
			{
				if (this.Parameters.Contains("EntityFilters"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.EntityFilters)(this.Parameters["EntityFilters"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.EntityFilters);
				}
			}
			set
			{
				this.Parameters["EntityFilters"] = value;
			}
		}

		public string LogicalName
		{
			get
			{
				if (this.Parameters.Contains("LogicalName"))
				{
					return ((string)(this.Parameters["LogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["LogicalName"] = value;
			}
		}

		public System.Guid MetadataId
		{
			get
			{
				if (this.Parameters.Contains("MetadataId"))
				{
					return ((System.Guid)(this.Parameters["MetadataId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["MetadataId"] = value;
			}
		}

		public bool RetrieveAsIfPublished
		{
			get
			{
				if (this.Parameters.Contains("RetrieveAsIfPublished"))
				{
					return ((bool)(this.Parameters["RetrieveAsIfPublished"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["RetrieveAsIfPublished"] = value;
			}
		}

		public RetrieveEntityRequest()
		{
			this.RequestName = "RetrieveEntity";
			this.EntityFilters = default(Microsoft.Xrm.Sdk.Metadata.EntityFilters);
			this.MetadataId = default(System.Guid);
			this.RetrieveAsIfPublished = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveEntityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveEntityResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Metadata.EntityMetadata EntityMetadata
		{
			get
			{
				if (this.Results.Contains("EntityMetadata"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.EntityMetadata)(this.Results["EntityMetadata"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.EntityMetadata);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveRelationshipRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public System.Guid MetadataId
		{
			get
			{
				if (this.Parameters.Contains("MetadataId"))
				{
					return ((System.Guid)(this.Parameters["MetadataId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["MetadataId"] = value;
			}
		}

		public string Name
		{
			get
			{
				if (this.Parameters.Contains("Name"))
				{
					return ((string)(this.Parameters["Name"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Name"] = value;
			}
		}

		public bool RetrieveAsIfPublished
		{
			get
			{
				if (this.Parameters.Contains("RetrieveAsIfPublished"))
				{
					return ((bool)(this.Parameters["RetrieveAsIfPublished"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["RetrieveAsIfPublished"] = value;
			}
		}

		public RetrieveRelationshipRequest()
		{
			this.RequestName = "RetrieveRelationship";
			this.MetadataId = default(System.Guid);
			this.RetrieveAsIfPublished = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveRelationshipResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveRelationshipResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase RelationshipMetadata
		{
			get
			{
				if (this.Results.Contains("RelationshipMetadata"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase)(this.Results["RelationshipMetadata"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveTimestampRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public RetrieveTimestampRequest()
		{
			this.RequestName = "RetrieveTimestamp";
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveTimestampResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveTimestampResponse()
		{
		}

		public string Timestamp
		{
			get
			{
				if (this.Results.Contains("Timestamp"))
				{
					return ((string)(this.Results["Timestamp"]));
				}
				else
				{
					return default(string);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveOptionSetRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string Name
		{
			get
			{
				if (this.Parameters.Contains("Name"))
				{
					return ((string)(this.Parameters["Name"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["Name"] = value;
			}
		}

		public System.Guid MetadataId
		{
			get
			{
				if (this.Parameters.Contains("MetadataId"))
				{
					return ((System.Guid)(this.Parameters["MetadataId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["MetadataId"] = value;
			}
		}

		public bool RetrieveAsIfPublished
		{
			get
			{
				if (this.Parameters.Contains("RetrieveAsIfPublished"))
				{
					return ((bool)(this.Parameters["RetrieveAsIfPublished"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["RetrieveAsIfPublished"] = value;
			}
		}

		public RetrieveOptionSetRequest()
		{
			this.RequestName = "RetrieveOptionSet";
			this.MetadataId = default(System.Guid);
			this.RetrieveAsIfPublished = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveOptionSetResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveOptionSetResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase OptionSetMetadata
		{
			get
			{
				if (this.Results.Contains("OptionSetMetadata"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase)(this.Results["OptionSetMetadata"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveManagedPropertyRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string LogicalName
		{
			get
			{
				if (this.Parameters.Contains("LogicalName"))
				{
					return ((string)(this.Parameters["LogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["LogicalName"] = value;
			}
		}

		public System.Guid MetadataId
		{
			get
			{
				if (this.Parameters.Contains("MetadataId"))
				{
					return ((System.Guid)(this.Parameters["MetadataId"]));
				}
				else
				{
					return default(System.Guid);
				}
			}
			set
			{
				this.Parameters["MetadataId"] = value;
			}
		}

		public RetrieveManagedPropertyRequest()
		{
			this.RequestName = "RetrieveManagedProperty";
			this.MetadataId = default(System.Guid);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class RetrieveManagedPropertyResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public RetrieveManagedPropertyResponse()
		{
		}

		public Microsoft.Xrm.Sdk.Metadata.ManagedPropertyMetadata ManagedPropertyMetadata
		{
			get
			{
				if (this.Results.Contains("ManagedPropertyMetadata"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.ManagedPropertyMetadata)(this.Results["ManagedPropertyMetadata"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.ManagedPropertyMetadata);
				}
			}
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateAttributeRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Metadata.AttributeMetadata Attribute
		{
			get
			{
				if (this.Parameters.Contains("Attribute"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.AttributeMetadata)(this.Parameters["Attribute"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.AttributeMetadata);
				}
			}
			set
			{
				this.Parameters["Attribute"] = value;
			}
		}

		public string EntityName
		{
			get
			{
				if (this.Parameters.Contains("EntityName"))
				{
					return ((string)(this.Parameters["EntityName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityName"] = value;
			}
		}

		public bool MergeLabels
		{
			get
			{
				if (this.Parameters.Contains("MergeLabels"))
				{
					return ((bool)(this.Parameters["MergeLabels"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["MergeLabels"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public UpdateAttributeRequest()
		{
			this.RequestName = "UpdateAttribute";
			this.Attribute = default(Microsoft.Xrm.Sdk.Metadata.AttributeMetadata);
			this.EntityName = default(string);
			this.MergeLabels = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateAttributeResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UpdateAttributeResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateEntityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Metadata.EntityMetadata Entity
		{
			get
			{
				if (this.Parameters.Contains("Entity"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.EntityMetadata)(this.Parameters["Entity"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.EntityMetadata);
				}
			}
			set
			{
				this.Parameters["Entity"] = value;
			}
		}

		public bool MergeLabels
		{
			get
			{
				if (this.Parameters.Contains("MergeLabels"))
				{
					return ((bool)(this.Parameters["MergeLabels"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["MergeLabels"] = value;
			}
		}

		public System.Nullable<bool> HasNotes
		{
			get
			{
				if (this.Parameters.Contains("HasNotes"))
				{
					return ((System.Nullable<bool>)(this.Parameters["HasNotes"]));
				}
				else
				{
					return default(System.Nullable<bool>);
				}
			}
			set
			{
				this.Parameters["HasNotes"] = value;
			}
		}

		public System.Nullable<bool> HasActivities
		{
			get
			{
				if (this.Parameters.Contains("HasActivities"))
				{
					return ((System.Nullable<bool>)(this.Parameters["HasActivities"]));
				}
				else
				{
					return default(System.Nullable<bool>);
				}
			}
			set
			{
				this.Parameters["HasActivities"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public UpdateEntityRequest()
		{
			this.RequestName = "UpdateEntity";
			this.Entity = default(Microsoft.Xrm.Sdk.Metadata.EntityMetadata);
			this.MergeLabels = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateEntityResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UpdateEntityResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateOptionValueRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string OptionSetName
		{
			get
			{
				if (this.Parameters.Contains("OptionSetName"))
				{
					return ((string)(this.Parameters["OptionSetName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["OptionSetName"] = value;
			}
		}

		public string AttributeLogicalName
		{
			get
			{
				if (this.Parameters.Contains("AttributeLogicalName"))
				{
					return ((string)(this.Parameters["AttributeLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AttributeLogicalName"] = value;
			}
		}

		public string EntityLogicalName
		{
			get
			{
				if (this.Parameters.Contains("EntityLogicalName"))
				{
					return ((string)(this.Parameters["EntityLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityLogicalName"] = value;
			}
		}

		public int Value
		{
			get
			{
				if (this.Parameters.Contains("Value"))
				{
					return ((int)(this.Parameters["Value"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["Value"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Label Label
		{
			get
			{
				if (this.Parameters.Contains("Label"))
				{
					return ((Microsoft.Xrm.Sdk.Label)(this.Parameters["Label"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Label);
				}
			}
			set
			{
				this.Parameters["Label"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Label Description
		{
			get
			{
				if (this.Parameters.Contains("Description"))
				{
					return ((Microsoft.Xrm.Sdk.Label)(this.Parameters["Description"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Label);
				}
			}
			set
			{
				this.Parameters["Description"] = value;
			}
		}

		public bool MergeLabels
		{
			get
			{
				if (this.Parameters.Contains("MergeLabels"))
				{
					return ((bool)(this.Parameters["MergeLabels"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["MergeLabels"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public UpdateOptionValueRequest()
		{
			this.RequestName = "UpdateOptionValue";
			this.Value = default(int);
			this.MergeLabels = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateOptionValueResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UpdateOptionValueResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateStateValueRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public string OptionSetName
		{
			get
			{
				if (this.Parameters.Contains("OptionSetName"))
				{
					return ((string)(this.Parameters["OptionSetName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["OptionSetName"] = value;
			}
		}

		public string AttributeLogicalName
		{
			get
			{
				if (this.Parameters.Contains("AttributeLogicalName"))
				{
					return ((string)(this.Parameters["AttributeLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["AttributeLogicalName"] = value;
			}
		}

		public string EntityLogicalName
		{
			get
			{
				if (this.Parameters.Contains("EntityLogicalName"))
				{
					return ((string)(this.Parameters["EntityLogicalName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["EntityLogicalName"] = value;
			}
		}

		public int Value
		{
			get
			{
				if (this.Parameters.Contains("Value"))
				{
					return ((int)(this.Parameters["Value"]));
				}
				else
				{
					return default(int);
				}
			}
			set
			{
				this.Parameters["Value"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Label Label
		{
			get
			{
				if (this.Parameters.Contains("Label"))
				{
					return ((Microsoft.Xrm.Sdk.Label)(this.Parameters["Label"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Label);
				}
			}
			set
			{
				this.Parameters["Label"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Label Description
		{
			get
			{
				if (this.Parameters.Contains("Description"))
				{
					return ((Microsoft.Xrm.Sdk.Label)(this.Parameters["Description"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Label);
				}
			}
			set
			{
				this.Parameters["Description"] = value;
			}
		}

		public bool MergeLabels
		{
			get
			{
				if (this.Parameters.Contains("MergeLabels"))
				{
					return ((bool)(this.Parameters["MergeLabels"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["MergeLabels"] = value;
			}
		}

		public System.Nullable<int> DefaultStatusCode
		{
			get
			{
				if (this.Parameters.Contains("DefaultStatusCode"))
				{
					return ((System.Nullable<int>)(this.Parameters["DefaultStatusCode"]));
				}
				else
				{
					return default(System.Nullable<int>);
				}
			}
			set
			{
				this.Parameters["DefaultStatusCode"] = value;
			}
		}

		public UpdateStateValueRequest()
		{
			this.RequestName = "UpdateStateValue";
			this.Value = default(int);
			this.MergeLabels = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateStateValueResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UpdateStateValueResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateRelationshipRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase Relationship
		{
			get
			{
				if (this.Parameters.Contains("Relationship"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase)(this.Parameters["Relationship"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase);
				}
			}
			set
			{
				this.Parameters["Relationship"] = value;
			}
		}

		public bool MergeLabels
		{
			get
			{
				if (this.Parameters.Contains("MergeLabels"))
				{
					return ((bool)(this.Parameters["MergeLabels"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["MergeLabels"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public UpdateRelationshipRequest()
		{
			this.RequestName = "UpdateRelationship";
			this.Relationship = default(Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase);
			this.MergeLabels = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateRelationshipResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UpdateRelationshipResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateOptionSetRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase OptionSet
		{
			get
			{
				if (this.Parameters.Contains("OptionSet"))
				{
					return ((Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase)(this.Parameters["OptionSet"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase);
				}
			}
			set
			{
				this.Parameters["OptionSet"] = value;
			}
		}

		public bool MergeLabels
		{
			get
			{
				if (this.Parameters.Contains("MergeLabels"))
				{
					return ((bool)(this.Parameters["MergeLabels"]));
				}
				else
				{
					return default(bool);
				}
			}
			set
			{
				this.Parameters["MergeLabels"] = value;
			}
		}

		public string SolutionUniqueName
		{
			get
			{
				if (this.Parameters.Contains("SolutionUniqueName"))
				{
					return ((string)(this.Parameters["SolutionUniqueName"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["SolutionUniqueName"] = value;
			}
		}

		public UpdateOptionSetRequest()
		{
			this.RequestName = "UpdateOptionSet";
			this.OptionSet = default(Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase);
			this.MergeLabels = default(bool);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class UpdateOptionSetResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public UpdateOptionSetResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class AssociateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Relationship Relationship
		{
			get
			{
				if (this.Parameters.Contains("Relationship"))
				{
					return ((Microsoft.Xrm.Sdk.Relationship)(this.Parameters["Relationship"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Relationship);
				}
			}
			set
			{
				this.Parameters["Relationship"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReferenceCollection RelatedEntities
		{
			get
			{
				if (this.Parameters.Contains("RelatedEntities"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReferenceCollection)(this.Parameters["RelatedEntities"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReferenceCollection);
				}
			}
			set
			{
				this.Parameters["RelatedEntities"] = value;
			}
		}

		public AssociateRequest()
		{
			this.RequestName = "Associate";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.Relationship = default(Microsoft.Xrm.Sdk.Relationship);
			this.RelatedEntities = default(Microsoft.Xrm.Sdk.EntityReferenceCollection);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class AssociateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public AssociateResponse()
		{
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DisassociateRequest : Microsoft.Xrm.Sdk.OrganizationRequest
	{

		public Microsoft.Xrm.Sdk.EntityReference Target
		{
			get
			{
				if (this.Parameters.Contains("Target"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReference)(this.Parameters["Target"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReference);
				}
			}
			set
			{
				this.Parameters["Target"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.Relationship Relationship
		{
			get
			{
				if (this.Parameters.Contains("Relationship"))
				{
					return ((Microsoft.Xrm.Sdk.Relationship)(this.Parameters["Relationship"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.Relationship);
				}
			}
			set
			{
				this.Parameters["Relationship"] = value;
			}
		}

		public Microsoft.Xrm.Sdk.EntityReferenceCollection RelatedEntities
		{
			get
			{
				if (this.Parameters.Contains("RelatedEntities"))
				{
					return ((Microsoft.Xrm.Sdk.EntityReferenceCollection)(this.Parameters["RelatedEntities"]));
				}
				else
				{
					return default(Microsoft.Xrm.Sdk.EntityReferenceCollection);
				}
			}
			set
			{
				this.Parameters["RelatedEntities"] = value;
			}
		}

		public DisassociateRequest()
		{
			this.RequestName = "Disassociate";
			this.Target = default(Microsoft.Xrm.Sdk.EntityReference);
			this.Relationship = default(Microsoft.Xrm.Sdk.Relationship);
			this.RelatedEntities = default(Microsoft.Xrm.Sdk.EntityReferenceCollection);
		}
	}

	[System.Runtime.Serialization.DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed partial class DisassociateResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{

		public DisassociateResponse()
		{
		}
	}
}
